﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" EnableEventValidation="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>龙道免费午餐</title>
    <link rel="stylesheet" type="text/css" href="style/base.css" />
    <link rel="stylesheet" type="text/css" href="style/admin-all.css" />
    <link rel="stylesheet" type="text/css" href="style/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="style/login.css" />
    <script type="text/javascript" src="Scripts/jquery-1.7.2.js"></script>
    <script type="text/javascript" src="Scripts/jquery.spritely-0.6.js"></script>
    <script type="text/javascript" src="Scripts/chur.min.js"></script>
    <script type="text/javascript">

        $(document).ready(function () {
            $('#clouds').pan({ fps: 20, speed: 0.7, dir: 'right', depth: 10 });
            $('.login').click(function () {
                if ($('#uid').val() == "" || $('#pwd').val() == "" || $('#code').val() == "") { $('.tip').html('用户名或密码不可为空！') }
                else {
                    location.href = 'Default.aspx';
                }
            })
        })
    </script>
    <style>
        #TxtCode {
            width: 80px;
        }
    </style>
</head>
<body style="background-color: #CBE8F8; text-align: center">
    <form id="form1" runat="server">
        <div id="clouds" class="stage">
        </div>
        <div class="loginmain">
        </div>

        <div class="row-fluid">
            <h1>龙道免费午餐会员登陆</h1>
            <asp:Literal ID="errorTip" runat="server"></asp:Literal>
            <p>
                <label>帐&nbsp;&nbsp;&nbsp;号:&nbsp;&nbsp;<asp:TextBox ID="txtMobile" runat="server"></asp:TextBox></label>
            </p>
            <p>
                <label>密&nbsp;&nbsp;&nbsp;码:&nbsp;&nbsp;<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox></label>
            </p>
            <p>
                <label>
                    验证码:&nbsp;&nbsp;<asp:TextBox ID="TxtCode" runat="server" Width="80px" MaxLength="4"></asp:TextBox>
                    <img src="/Member/VerifyCode.aspx" id="GetCodePic" cssclass="yzm-img" alt="验证码,点击可刷新验证码" onclick="this.src=this.src+'/Member/VerifyCode.aspx'" />
                    <script language="JavaScript" type="text/javascript">
                        document.getElementById("GetCodePic").src = "/Member/VerifyCode.aspx?rnd=" + Math.random();
                    </script>
                </label>
                <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">会员注册</asp:LinkButton>&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="lkbngetpass" runat="server" OnClick="lkbngetpass_Click">忘记密码</asp:LinkButton>
            </p>
            <hr />
            <asp:Button ID="login_in_sumbit" runat="server" Text="会员登录" OnClick="login_in_sumbit_Click" CssClass="btn btn-primary btn-large login" />
        </div>

    </form>
</body>
</html>
